package com.itheima.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Service;

import com.itheima.dao.CustomerMapper;
import com.itheima.po.Customer;

@Service
public class CustomerServiceImpl implements CustomerService{
	@Autowired
	private CustomerMapper customerMapper;
	
	public List<Customer> findCustomerAll(){   
		List<Customer> customerList = this.customerMapper.findCustomerAll();
		return customerList;
	}
	
}
